package com.sjy.controller;

import com.sjy.kafka.KafkaProducer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author 苏健尧
 * appearance  非常帅
 */
@RestController
@RequestMapping()
public class TestController {
    @Autowired
    private KafkaProducer kafkaProducer;

    @GetMapping("/test")
    public String test() {
        return "hello world 苏健尧";
    }

    @GetMapping("/test1")
    public String test1() {
        return "苏健尧, 好的没问题";
    }



}
